<template>
  <table>
      <tr>
          <td>{{datas.id}}</td>
          <td>{{datas.name}}</td>
          <td>{{datas.age}}</td>
          <td>{{datas.gender}}</td>
          <td>{{datas.grade_id}}</td>
      </tr>
  </table>
</template>

<script>
export default {
    name:'student_detial',
    data(){
        return{
            id:this.$route.query.id,
            datas:{}
        }
    },
    methods:{
        getdata(){
            this.axios.get('asj/'+this.id).then(res=>{
                this.datas=res.data
            })
        }
    },
    mounted(){
        this.getdata()
    }

}
</script>

<style>

</style>